package com.cms.dao.mapper;

import java.util.Map;

import org.apache.ibatis.annotations.Param;

import com.cms.common.annotation.RecordLog;
import com.cms.exception.SystemDBException;
import com.cms.model.TrLotteryPlayInfo;

public interface PlaySettingMapper {


	 /***
	  * 
	  * @param playGroupId
	  * @param status
	  * @throws SystemDBException
	  */
	 @RecordLog(expression="修改玩法组[${groupId}]状态",id="groupId",name="status",catalog="playGroupInfo")
	 public void updatePlayGroupStatus(@Param("playGroup")Map<String, Object>playGroup)throws SystemDBException;
	 
	 /***
	  * 
	  * @throws SystemDBException
	  */
	 @RecordLog(expression="修改玩法[${playId}]状态",id="playId",name="status",catalog="playInfo")
	 public void updatePlayStatus(@Param("play")Map<String, Object>play)throws SystemDBException;
	 
	 /***
	  * 
	  * @throws SystemDBException
	  */
	 @RecordLog(expression="修改玩法[${playId}]信息",id="playId",name="status",catalog="playInfo")
	 public void updatePlayInfo(@Param("play")Map<String, Object>play)throws SystemDBException;
	 
	 
     /***
      *  根据玩法id获取玩法信息
      * @param playId
      * @return
      * @throws SystemDBException
      */
	 public TrLotteryPlayInfo getPlayInfo(@Param("playId")int playId) throws SystemDBException ;
	 
	 
	 /***
	  * 
	  * @param info
	  * @throws SystemDBException
	  */
	 @RecordLog(expression="修改玩法[${id}]信息",name="name",catalog="playInfo")
	 public void updateLotteryPlay(@Param("play")TrLotteryPlayInfo info)throws SystemDBException;

}
